<%--
  Created by IntelliJ IDEA.
  User: 86185
  Date: 2024/5/14
  Time: 15:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>商品上架</title>
        <link href="css/style.css" rel="stylesheet" type="text/css" />
        <style type="text/css">
            .addBtn {
                width: 100px;
                height: 30px;
                background: #FD6F07;
                color: white;
            }
        </style>
    </head>
    <body>
        <div class="place">
            <span>位置：</span>
            <ul class="placeul">
                <li><a href="#">首页</a></li>
                <li><a href="#">表单</a></li>
            </ul>
        </div>
        <div class="formbody">
            <div class="formtitle"><span>基本信息</span></div>
            <form action="AddGoodsServlet" method="post">
                <ul class="forminfo">
                    <li><label>商品名称</label><input name="goodsName" type="text" class="dfinput" /><i>名称不能超过30个字符</i></li>
                    <li><label>商品规格</label><input name="goodsUnit" type="text" class="dfinput" /></li>
                    <li><label>商品价格</label><input name="goodsPrice" type="text" class="dfinput" /></li>
                    <li><label>商品图片</label><input name="goodsImg" type="text" class="dfinput" /></li>
                    <li><label>商品产地</label><input name="goodsAddress" type="text" class="dfinput" /></li>
                    <li><label>商品库存</label><input name="num" type="text" class="dfinput" /></li>
                    <li><label>商品状态</label>
                        <input name="state" type="radio" value="0" checked="checked"/>礼包专区
                        <input name="state" type="radio" value="1" />促销专区
                        <input name="state" type="radio" value="2" />轮播专区
                    </li>
                    <li><label>商品简介</label><textarea name="goodsInfo" cols="" rows="" class="textinput"></textarea></li>
                    <li><input type="submit" class="addBtn" value="确认保存"/></li>
                </ul>
            </form>
        </div>
    </body>
</html>
